package cn.dylan.service.impl;

import cn.dylan.domain.User;
import cn.dylan.mapper.UserMapper;
import cn.dylan.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements IUserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User loadById(Long id) {
        return userMapper.loadById(id);
    }
}
